﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DongHoCon.aspx.cs" Inherits="PresentationLayer_DefaultTab" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .ui-datepicker { font-size:8pt !important}
        .style1
        {
border-collapse: collapse;
        }
        .style26
        {
            text-align: center;
            color: #FF3300;
        }
        .style27
        {
            width: 236px;
        }
        .style28
        {
            color: #000000;
        }
        .style30
        {
            width: 212px;
        }
        .style31
        {
            width: 214px;
        }
        .style32
        {
            height: 21px;
        }
        .style33
        {
            width: 236px;
            height: 21px;
        }
        .style34
        {
            width: 212px;
            height: 21px;
        }
        .style35
        {
            width: 214px;
            height: 21px;
        }
    </style>

<link type="text/css" href="../Style/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../JavaScript/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../JavaScript/jquery-ui-1.8.19.custom.min.js"></script>
<script type="text/javascript">
    $(function () {
        $("#txtNgayCNC").datepicker({ dateFormat: 'dd/mm/yy', changeMonth: true,
            changeYear: true
        });
    });
</script>
    <script src="../JavaScript/CheckImpuValid.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
 <div>
    <asp:HiddenField ID="txtObjectID" runat="server" />
            <table class="style1" border="0"  align="center">
                <tr>
                    <td class="style26" colspan="4">
                        <strong style="text-align: center">CẬP NHẬT THÔNG TIN THUỘC TÍNH ĐỒNG HỒ CON</strong></td>
                </tr>
                <tr>
                    <td class="style42">
                        Mã đồng hồ</td>
                    <td class="style27">
                        <asp:TextBox ID="txtIDMaDongHo" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Đơn vị thị công</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListDonViTC" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Mã khu vực cấp nước (DMA)</td>
                    <td class="style27">
                        <asp:TextBox ID="txtDMA" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Đơn vị thiết kế</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListDonViTK" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Tiêu chuẩn đồng hồ</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListTieuChuan" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Mô tả vị trí lắp đặt</td>
                    <td class="style31">
                        <asp:TextBox ID="txtMoTaViTri" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Năm sản xuất</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNamSX" runat="server" Height="30px" Width="216px">
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Tình trạng sử dụng</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListTTSD" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Nhà sản xuất</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNhaSX" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Đơn vị quàn lý</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListDonViQL" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Nước sản xuất</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNuocSX" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Cở đồng hồ</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListKichCo" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Số than đồng hồ</td>
                    <td class="style27">
                        <asp:TextBox ID="nSTDongHo" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Áp lực (Bar)</td>
                    <td class="style31">
                        <asp:TextBox ID="dApLuc" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Loại cấu tạo đồng hồ</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListLoaiCTDH" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        &nbsp;Số lần thay</td>
                    <td class="style31">
                        <asp:TextBox ID="nSoLanThay" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style43">
                        Loại cấu cách vận hành</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListLoaiCCVH" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Mục đích sử dụng</td>
                    <td class="style31">
                        <asp:TextBox ID="nMucDichSuDung" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Loại mặt số</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListLoaiMatSo" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Đơn vị đo</td>
                    <td class="style31">
                        <asp:TextBox ID="txtDonViDo" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Ngày lắp đặt</td>
                    <td class="style27">
        
                        <asp:TextBox ID="txtNgayLapDat" runat="server" Height="21px" Width="210px" 
                            ReadOnly = "True" BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                    <td class="style30">
                        Độ chính xác (%)</td>
                    <td class="style31">
                        <asp:TextBox ID="dDoChinhXac" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Số nhà</td>
                    <td class="style27">
                        <asp:TextBox ID="txtSoNha" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Người cập nhật cuối</td>
                    <td class="style31">
        
                        <asp:TextBox ID="txtNguoiCNC" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Mã đường</td>
                    <td class="style27">
                        <asp:TextBox ID="txtMaDuong" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Ngày cập nhật cuối</td>
                    <td class="style31">
        
                        <asp:TextBox ID="txtNgayCNC" runat="server" Height="21px" Width="210px" 
                            ReadOnly = "True" BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Mã phường</td>
                    <td class="style27">
                        <asp:TextBox ID="txtMaPhuong" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Số người dùng</td>
                    <td class="style31">
                        <asp:TextBox ID="nSoNguoiSuDung" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Mã quận</td>
                    <td class="style27">
                        <asp:TextBox ID="txtMaQuan" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Lưu lượng nhỏ nhất (m3/h)</td>
                    <td class="style31">
                        <asp:TextBox ID="dLuuLuongNN" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Tên khách hàng</td>
                    <td class="style27">
                        <asp:TextBox ID="txtTenKhachHang" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Lưu lượng lớn nhất (m3/h)</td>
                    <td class="style31">
                        <asp:TextBox ID="dLuuLuongLN" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Số hợp đồng</td>
                    <td class="style27">
                        <asp:TextBox ID="txtSoHopDong" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Định mức sử dụng</td>
                    <td class="style31">
                        <asp:TextBox ID="txtDinhMucSuDung" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300" 
                            style="margin-top: 0px; margin-bottom: 0px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Mã số kẹp chì</td>
                    <td class="style27">
                        <asp:TextBox ID="txtMaSoKepChi" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Nhà kiểm định</td>
                    <td class="style31">
                        <asp:TextBox ID="txtNhaKiemDinh" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300" 
                            style="margin-top: 0px; margin-bottom: 0px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style32">
                        Cấp chính xác</td>
                    <td class="style27">
                        <asp:TextBox ID="dCapChinhXac" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Danh bộ</td>
                    <td class="style31">
                        <asp:TextBox ID="txtDBHopDongNuoc" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style32">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style34">
                        Kiểu</td>
                    <td class="style35">
                        <asp:TextBox ID="txtKieu" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300" 
                            style="margin-top: 0px; margin-bottom: 0px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style43">
                        Ghi chú</td>
                    <td class="style44" colspan="2">
                        <asp:TextBox ID="txtGhiChu" runat="server" Height="156px" 
                            TextMode="MultiLine" Width="398px" BorderStyle="Solid" 
                            BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style31">
                        <img src="../images/noImage.gif" style="height: 146px; width: 219px"/></td></td>
                </tr>
                <tr>
                    <td colspan="4" style="text-align: center">
                        <asp:Button ID="btnCapNhat" runat="server" onclick="btnCapNhat_Click" 
                            Text="Cập nhật" style="text-align: center"/>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnHuyBo" runat="server" 
                            Text="Hủy bỏ" onclick="btnHuyBo_Click" />
                    </td>
                </tr>
                </table>

    </div>
    </form>
</body>
</html>
